//编程实现people类的封装，特征有：姓名，年龄，国籍，要求提供打印所有特征的方法
public class People{
	private String name;
	private int age;
	static String nationality;

	People(String name,int age,String nationality){
		this.name = name;
		this.age = age;
		this.nationality = nationality;

	}

	void setName(String name){
		this.name = name;
	}
	void setAge(int age){
		this.age = age;
	}
	void setNationality(String nationality){
		this.nationality = nationality;
	}

	String getName(){
		return this.name;
	}
	int getAge(){
		return this.age;
	}
	String getNationality(){
		return this.nationality;
	}

	void show(){
		System.out.println("姓名	:" + this.name);
		System.out.println("年龄	:" + this.age);
		System.out.println("国籍	:" + this.nationality);
	}
}